package com.jhg.drgclinicalpathway;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

@Configuration
@PropertySource("classpath:my.properties")
@ConfigurationProperties
@Data
@Component
public class MyProperties {
    //版本号
    private String softVersion;

}
